package com.yiyuan.app.mapper;

import com.guaike.core.mybatis.plugins.BaseExtMapper;
import com.yiyuan.app.entity.po.GRecordGamePO;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;

/**
 * <p>
 * 游戏记录表 Mapper 接口
 * </p>
 *
 * @author system
 * @since 2024-10-25
 */
public interface GRecordGameExtMapper extends BaseExtMapper<GRecordGamePO> {
    int updateData(@Param("id") Long id, @Param("usePinecone") Integer usePinecone, @Param("getPineNut") Integer getPineNut, @Param("finallyCoinTime") LocalDateTime finallyCoinTime);

    GRecordGamePO findByIdLock(@Param("id") Long id);

    int updatePushCoinsEndTime(@Param("id") Long id);
}
